import FrontendLayout from '@/layouts/frontend-layout'

export default [
    {
        path: '/',
        redirect: {
            name: `champion`
        },
        component: FrontendLayout,
        children: [
            {
                path: 'champion',
                name: `champion`,
                meta: {
                    title: '英雄列表页面',
                    auth: false
                },
                component: () => import('@/pages/champion')
            },
            {
                path: 'champion/:id',
                name: `champion-info`,
                meta: {
                    title: '英雄详情页面',
                    auth: false
                },
                component: () => import('@/pages/champion/info')
            }
        ]
    }
];
